RoomListener

interface RoomListener

An interface that contains the onRemoteParticipantEntered() and onRemoteParticipantExited(), and other callback methods to receive a participant's events while in the room.

Since

1.6.0

Functions

onAudioDeviceChanged
Link copied to clipboard
abstract fun onAudioDeviceChanged(currentAudioDevice: AudioDevice?, availableAudioDevices: Set<AudioDevice>)

Invoked when a local partcipant's audio settings has changed.

onCustomItemsDeleted
Link copied to clipboard
abstract fun onCustomItemsDeleted(deletedKeys: List<String>)

Invoked when a remote participant deletes custom items in the room.

onCustomItemsUpdated
Link copied to clipboard
abstract fun onCustomItemsUpdated(updatedKeys: List<String>)

Invoked when a remote participant updates custom items in the room.

onDeleted
Link copied to clipboard
abstract fun onDeleted()

Invoked when a room has been deleted by using Platform API.

onError
Link copied to clipboard
abstract fun onError(e: SendBirdException, participant: Participant?)

Invoked when an error occurs on Sendbird server while processing a request.

onInvitationAccepted
Link copied to clipboard
abstract fun onInvitationAccepted(roomInvitation: RoomInvitation)

Invoked when the recipient accepts the invitation to enter the room.

onInvitationCanceled
Link copied to clipboard
abstract fun onInvitationCanceled(roomInvitation: RoomInvitation)

Invoked when the cancel the invitation to enter the room.

onInvitationDeclined
Link copied to clipboard
abstract fun onInvitationDeclined(roomInvitation: RoomInvitation)

Invoked when the recipient declines the invitation to enter the room.

onLocalParticipantDisconnected
Link copied to clipboard
abstract fun onLocalParticipantDisconnected(participant: LocalParticipant)

Invoked when the local participant's connection with the server has been interrupted.

onLocalParticipantReconnected
Link copied to clipboard
abstract fun onLocalParticipantReconnected(participant: LocalParticipant)

Invoked when the local participant's connection with the server has been established.

onRemoteAudioSettingsChanged
Link copied to clipboard
abstract fun onRemoteAudioSettingsChanged(participant: RemoteParticipant)

Invoked when a remote partcipant's audio settings has changed.

onRemoteParticipantEntered
Link copied to clipboard
abstract fun onRemoteParticipantEntered(participant: RemoteParticipant)

Invoked when a remote participant has entered a room.

onRemoteParticipantExited
Link copied to clipboard
abstract fun onRemoteParticipantExited(participant: RemoteParticipant)

Invoked when a remote participant has exited a room.

onRemoteParticipantStreamStarted
Link copied to clipboard
abstract fun onRemoteParticipantStreamStarted(participant: RemoteParticipant)

Invoked when a remote participant has started media streaming.

onRemoteVideoSettingsChanged
Link copied to clipboard
abstract fun onRemoteVideoSettingsChanged(participant: RemoteParticipant)

Invoked when a remote partcipant's video settings has changed.